<!--作者:于大明-->
<template>
	<view class="home-head sticky">
		<view class="d-flex pl-2 bg-white">
			<view class="flex-1">
				<uni-search-bar v-model="searchText" radius="100" cancelButton="none" placeholder="输入搜索内容"
					@confirm="getProductLstIn.productName=searchText" @clear="getProductLstIn.productName=''" />
			</view>
			<view class="mr-1" style="line-height: 4;">共<text class="text-orange">{{rowCount}}</text>个</view>
		</view>
				
		<view class="nav-tab">
			<zb-dropdown-menu :zIndex="100"  ref="dropdown" active-color="#007AFF">
				<zb-dropdown-item name="first" :options="productTypeOption" v-model="getProductLstIn.productType"></zb-dropdown-item>
				<zb-dropdown-item name="two" :options="productOrerTypeOption" v-model="getProductLstIn.productOrerType"></zb-dropdown-item>
			</zb-dropdown-menu>
		</view>
	</view>
</template>

<script src="./home-head.js"></script>

<style lang="less" scoped>
	@import url('home-head.less');
</style>